<script setup>
const fn = (e) => {
  console.log(e.target.value);
};
</script>

<template>
  <input type="text" @input="fn" />
</template>

<style scoped lang="scss"></style>
